package com.demo.mapper;

import com.demo.pojo.Repair;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RepairMapper {
    int deleteByPrimaryKey(Integer repairNo);

    int insert(Repair record);

    int insertSelective(Repair record);

    Repair selectByPrimaryKey(Integer repairNo);

    int updateByPrimaryKeySelective(Repair record);

    int updateByPrimaryKey(Repair record);

    int pageCount(@Param("wx") String wx);

    List<Repair> pageByCond(
            @Param("wx")String wx,
            @Param("pageNo")int pageNo,
            @Param("pageSize")int pageSize);

}